home *** CD-ROM | disk | FTP | other *** search
- program SSStub;
-
- {$D SCRNSAVE : Visual Basic }
-
- uses WinTypes, WinProcs;
-
- procedure WinMain;
- var
- go: Bool;
-
- begin
- go := False;
-
- { Check for /s parameter }
-
- while CmdLine^ <> #0 do
- begin
- if CmdLine^ in ['/', '-'] then
- if (CmdLine+1)^ in ['s', 'S'] then
- go := True;
- Inc (CmdLine);
- end;
-
- if not go then
- MessageBox (GetActiveWindow, 'This screen saver has no options that you can set.', 'Screen Saver', $30)
- else
- WinExec ('VBSAVER.EXE', sw_Show);
- end;
-
- begin
- { Main program }
-
- WinMain;
- Halt (1);
- end.
-
-